imcontextwayland: Get rid of global variable
authorBenjamin Otte <otte@redhat.com>
Tue, 22 Jan 2019 03:28:14 +0000 (04:28 +0100)
committerBenjamin Otte <otte@redhat.com>
Tue, 22 Jan 2019 03:33:11 +0000 (04:33 +0100)
commitc8754654773bd764e46c6e83c71c5e0ae2de4740
tree3bcb63c389c94a4950933cf28220ec8ace4e3398
parent7978e0496377556b88f5bba24844c94311a58ebc
imcontextwayland: Get rid of global variable

Attach it to the GdkDisplay.
Also fixes -Wshadow complaining about "global" being shadowed.
gtk/gtkimcontextwayland.c